<?php 
    require_once 'header.phtml';
?>
<div class="yanshibox">
	<div class="yanshicenter">
    	<div class="yanshileft">
        	<div class="yanshimc">
            	<h1 style="font-size:26px;padding-right:55px;">上门取货演示</h1><i></i>
            </div>
            <div class="yanshibz">
            	<ul>
                	<li <?php if($this->step == 1){ ?>class="yson"<?php } ?>><a href="/demo/visit/step/1" target="_parent"><span>1.</span>点击申请上门取件</a><i></i></li>
                	<li <?php if($this->step == 2){ ?>class="yson"<?php } ?>><a href="/demo/visit/step/2" target="_parent"><span>2.</span>填写上门收货地址</a><i></i></li>
                	<li <?php if($this->step == 3){ ?>class="yson"<?php } ?>><a href="/demo/visit/step/3" target="_parent"><span>3.</span>确认并提交申请</a><i></i></li>
                	<li <?php if($this->step == 4){ ?>class="yson"<?php } ?>><a href="/demo/visit/step/4" target="_parent"><span>4.</span>支付上门保证金</a><i></i></li>
                	<li <?php if($this->step == 5){ ?>class="yson"<?php } ?>><a href="/demo/visit/step/5" target="_parent"><span>5.</span>完成上门取件申请</a></li>
                </ul>
            </div>
        </div>
        <div class="yanshiright">
            <div class="yanshipic"><img src="/images/vip/ys_shangmen/sm<?php echo $this->step; ?>.gif" alt="点击申请上门取件" border="0" usemap="#Map">
              <?php if($this->step < 5){ ?>
                    <map name="Map">
                      <?php if($this->step == 1){ ?>  
                          <area shape="rect" coords="774,137,927,180" href="/demo/visit/step/2" target="_parent">
                      <?php }else if($this->step == 2){ ?>
                          <area shape="rect" coords="99,194,715,360" href="/demo/visit/step/3" target="_parent">
                          <area shape="rect" coords="62,490,540,573" href="/demo/visit/step/3" target="_parent">
                      <?php }else if($this->step == 3){ ?>
                          <area shape="rect" coords="59,521,413,607" href="/demo/visit/step/4" target="_parent">
                      <?php }else if($this->step == 4){ ?>
                          <area shape="rect" coords="110,225,462,293" href="/demo/visit/step/5" target="_parent">
                    </map>
              <?php }}else{ ?>                
                    <div class="xiayibu" style="margin-top:40px;">
                	<ul>
                            <li><a href="/demo/visit/step/1" target="_parent">再看一遍</a></li>
                            <li><a href="/demo/waybill" target="_parent">提交国际运单演示</a></li>
                        </ul>
                    </div>
              <?php } ?>
        </div>
            <div class="yanshify">
            	<div class="yanshihei"></div>
                <div class="ysfanye">
                    <?php if($this->step > 1){ ?>
                        <div class="fyleft"><a href="/demo/visit/step/<?php echo $this->step-1; ?>" target="_parent">上一步</a></div>
                    <?php } ?>
                    <?php if($this->step < 5){ ?>    
                        <div class="fyright"><a href="/demo/visit/step/<?php echo $this->step+1; ?>" target="_parent">下一步</a></div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
</div>

<?php
    require_once 'footer.phtml';
?>